﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace Animator3D.Controls
{
    /// <summary>
    /// Interaction logic for AnimationSlider.xaml
    /// </summary>
    public partial class AnimationSlider : UserControl
    {
        public AnimationSlider()
        {
            InitializeComponent();
        }

        public event RoutedPropertyChangedEventHandler<double> ValueChanged;

        private void timeSlider_ValueChanged(object sender, RoutedPropertyChangedEventArgs<double> e)
        {
            RoutedPropertyChangedEventHandler<double> v = ValueChanged;
            if (v != null)
            {
                v(this, e);
            }
        }

        private void FirstAnimationFrameButton_Click(object sender, RoutedEventArgs e)
        {

        }

        private void StartAnimationButton_Click(object sender, RoutedEventArgs e)
        {

        }

        private void PauseAnimationButton_Click(object sender, RoutedEventArgs e)
        {

        }

        private void StopAnimationButton_Click(object sender, RoutedEventArgs e)
        {

        }

        private void LastAnimationFrameButton_Click(object sender, RoutedEventArgs e)
        {

        }

        private void PreviousAnimationFrameButton_Click(object sender, RoutedEventArgs e)
        {

        }

        private void NextAnimationFrameButton_Click(object sender, RoutedEventArgs e)
        {

        }
    }
}
